#include <iostream>


int main ()
{
    int a = 10;
    int b = 20;
    (a > b ? a : b)++;
    std::cout << a << " " << b << std::endl;
    return 0;
}